package com.player.thirdGroup.service;

import com.player.thirdGroup.dao.MenuDao;
import com.player.thirdGroup.entity.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author VULCAN
 * @create 2019-12-28 7:49
 * @desc 菜单
 **/
@Service
public class MenuService {
    @Autowired
    private MenuDao menuDao;

    public List<Menu> menuList(String uid) {
        return menuDao.rolemenu(uid);
    }

    public List<Menu> lists() {
        return menuDao.lists();
    }
}
